<!DOCTYPE HTML>
<html lang="en" >
    
    <head>
        
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <title>列表及表格 | 拼命赶进度</title>
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <meta name="description" content="">
        <meta name="generator" content="GitBook 2.6.7">
        
        
        <meta name="HandheldFriendly" content="true"/>
        <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png">
        <link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">
        
    <link rel="stylesheet" href="gitbook/style.css">
    
        
        <link rel="stylesheet" href="gitbook/plugins/gitbook-plugin-expandable-chapters/expandable-chapters.css">
        
    
        
        <link rel="stylesheet" href="gitbook/plugins/gitbook-plugin-fontsettings/website.css">
        
    
        
        <link rel="stylesheet" href="gitbook/plugins/gitbook-plugin-ace/ace.css">
        
    
        
        <link rel="stylesheet" href="gitbook/plugins/gitbook-plugin-highlight/website.css">
        
    
    

        
    
    
    <link rel="next" href="./表单form元素.html" />
    
    
    <link rel="prev" href="./图片音频视频.html" />
    

        
    </head>
    <body>
        
        
    <div class="book"
        data-level="1.3"
        data-chapter-title="列表及表格"
        data-filepath="列表及表格.md"
        data-basepath="."
        data-revision="Sun Sep 03 2017 23:30:11 GMT+0800 (中国标准时间)"
        data-innerlanguage="">
    

<div class="book-summary">
    <nav role="navigation">
        <ul class="summary">
            
            
            
            

            

            
    
        <li class="chapter " data-level="0" data-path="index.html">
            
                
                    <a href="./index.html">
                
                        <i class="fa fa-check"></i>
                        
                        Introduction
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1" data-path="html.html">
            
                
                    <a href="./html.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.</b>
                        
                        HTML5
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1" data-path="常用元素.html">
            
                
                    <a href="./常用元素.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.1.</b>
                        
                        常用元素
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="图片音频视频.html">
            
                
                    <a href="./图片音频视频.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.2.</b>
                        
                        图片音频视频
                    </a>
            
            
        </li>
    
        <li class="chapter active" data-level="1.3" data-path="列表及表格.html">
            
                
                    <a href="./列表及表格.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.3.</b>
                        
                        列表及表格
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="表单form元素.html">
            
                
                    <a href="./表单form元素.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>1.4.</b>
                        
                        表单form元素
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2" data-path="CSS.html">
            
                
                    <a href="./CSS.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.</b>
                        
                        CSS
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.1" data-path="如何引入CSS.html">
            
                
                    <a href="./如何引入CSS.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.1.</b>
                        
                        如何引入CSS
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.2" data-path="选择器.html">
            
                
                    <a href="./选择器.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.2.</b>
                        
                        选择器
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.2.1" data-path="通配选择符.html">
            
                
                    <a href="./通配选择符.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.2.1.</b>
                        
                        通配选择符
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.2.2" data-path="元素选择符.html">
            
                
                    <a href="./元素选择符.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.2.2.</b>
                        
                        元素选择符
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.2.3" data-path="id 及 class 选择符.html">
            
                
                    <a href="./id 及 class 选择符.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.2.3.</b>
                        
                        id 及 class 选择符
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.2.4" data-path="群组选择符.html">
            
                
                    <a href="./群组选择符.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.2.4.</b>
                        
                        群组选择符
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.2.5" data-path="关系选择符.html">
            
                
                    <a href="./关系选择符.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.2.5.</b>
                        
                        关系选择符
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.2.6" data-path="属性选择符.html">
            
                
                    <a href="./属性选择符.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.2.6.</b>
                        
                        属性选择符
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.2.7" data-path="伪类选择符.html">
            
                
                    <a href="./伪类选择符.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.2.7.</b>
                        
                        伪类选择符
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.2.8" data-path="伪对象选择符.html">
            
                
                    <a href="./伪对象选择符.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.2.8.</b>
                        
                        伪对象选择符
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.3" data-path="CSS的常用样式.html">
            
                
                    <a href="./CSS的常用样式.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.3.</b>
                        
                        CSS的常用样式
                    </a>
            
            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.3.1" data-path="字体样式.html">
            
                
                    <a href="./字体样式.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.3.1.</b>
                        
                        字体样式
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.3.2" data-path="元素分类.html">
            
                
                    <a href="./元素分类.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.3.2.</b>
                        
                        元素样式
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.3.3" data-path="边框.html">
            
                
                    <a href="./边框.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.3.3.</b>
                        
                        边框样式
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.3.4" data-path="盒子模型.html">
            
                
                    <a href="./盒子模型.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.3.4.</b>
                        
                        盒子模型
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.3.5" data-path="段落样式.html">
            
                
                    <a href="./段落样式.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.3.5.</b>
                        
                        段落样式
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.3.6" data-path="背景样式.html">
            
                
                    <a href="./背景样式.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.3.6.</b>
                        
                        背景样式
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.3.7" data-path="列表样式.html">
            
                
                    <a href="./列表样式.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.3.7.</b>
                        
                        列表样式
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.3.8" data-path="变形样式.html">
            
                
                    <a href="./变形样式.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.3.8.</b>
                        
                        变形样式
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.3.9" data-path="过渡动画.html">
            
                
                    <a href="./过渡动画.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.3.9.</b>
                        
                        过渡动画
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.3.10" data-path="自定义动画.html">
            
                
                    <a href="./自定义动画.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.3.10.</b>
                        
                        自定义动画
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.3.11" data-path="布局.html">
            
                
                    <a href="./布局.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.3.11.</b>
                        
                        布局
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.3.12" data-path="视口.html">
            
                
                    <a href="./视口.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.3.12.</b>
                        
                        视口
                    </a>
            
            
        </li>
    
        <li class="chapter " data-level="2.3.13" data-path="CSS总结.html">
            
                
                    <a href="./CSS总结.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>2.3.13.</b>
                        
                        CSS总结
                    </a>
            
            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="3" data-path="JavaScript.html">
            
                
                    <a href="./JavaScript.html">
                
                        <i class="fa fa-check"></i>
                        
                            <b>3.</b>
                        
                        JavaScript
                    </a>
            
            
        </li>
    


            
            <li class="divider"></li>
            <li>
                <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
                    Published with GitBook
                </a>
            </li>
            
        </ul>
    </nav>
</div>

    <div class="book-body">
        <div class="body-inner">
            <div class="book-header" role="navigation">
    <!-- Actions Left -->
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="./" >拼命赶进度</a>
    </h1>
</div>

            <div class="page-wrapper" tabindex="-1" role="main">
                <div class="page-inner">
                
                
                    <section class="normal" id="section-">
                    
                        <h1 id="&#x5217;&#x8868;&#x53CA;&#x8868;&#x683C;">&#x5217;&#x8868;&#x53CA;&#x8868;&#x683C;</h1>
<p>&#x5217;&#x8868;&#x7528;&#x6765;&#x5728;&#x7F51;&#x9875;&#x4E0A;&#x7EC4;&#x7EC7;&#x4FE1;&#x606F;&#xFF0C;HTML&#x80FD;&#x591F;&#x521B;&#x5EFA;&#x4E09;&#x79CD;&#x7C7B;&#x578B;&#x7684;&#x5217;&#x8868;&#xFF1A;&#x65E0;&#x5E8F;&#x5217;&#x8868;&#x3001;&#x6709;&#x5E8F;&#x5217;&#x8868;&#x548C;&#x5B9A;&#x4E49;&#x5217;&#x8868;&#x3002;</p>
<h2 id="&#x65E0;&#x5E8F;&#x5217;&#x8868;">&#x65E0;&#x5E8F;&#x5217;&#x8868;</h2>
<p> &#x65E0;&#x5E8F;&#x5217;&#x8868;&#x662F;&#x4E00;&#x4E2A;&#x9879;&#x76EE;&#x7684;&#x5217;&#x8868;&#xFF0C;&#x6B64;&#x5217;&#x9879;&#x76EE;&#x4F7F;&#x7528;&#x7C97;&#x4F53;&#x5706;&#x70B9;&#xFF08;&#x5178;&#x578B;&#x7684;&#x5C0F;&#x9ED1;&#x5706;&#x5708;&#xFF09;&#x8FDB;&#x884C;&#x6807;&#x8BB0;&#x3002;<br> &#x65E0;&#x5E8F;&#x5217;&#x8868;&#x59CB;&#x4E8E; <code>&lt;ul&gt;</code> &#x6807;&#x7B7E;&#x3002;&#x6BCF;&#x4E2A;&#x5217;&#x8868;&#x9879;&#x59CB;&#x4E8E;<code>&lt;li&gt;</code>&#x3002;</p>
<pre><code>  &lt;ul&gt;
    &lt;li&gt;&#x2026;&#x2026;&lt;/li&gt;
    &lt;li&gt;&#x2026;&#x2026;&lt;/li&gt;
    &lt;li&gt;&#x2026;&#x2026;&lt;/li&gt;
&lt;/ul&gt;
</code></pre><h2 id="&#x6709;&#x5E8F;&#x5217;&#x8868;">&#x6709;&#x5E8F;&#x5217;&#x8868;</h2>
<p>&#x6709;&#x5E8F;&#x5217;&#x8868;&#x4F7F;&#x7528;&#x6570;&#x5B57;&#x6216;&#x5B57;&#x6BCD;&#x7CFB;&#x7EDF;&#x6765;&#x7EC4;&#x7EC7;&#x5217;&#x8868;&#x91CC;&#x5305;&#x542B;&#x7684;&#x4FE1;&#x606F;&#x3002;&#x6709;&#x5E8F;&#x5217;&#x8868;&#x53EF;&#x4EE5;&#x4F7F;&#x7528;&#x6570;&#x5B57;(&#x9ED8;&#x8BA4;)&#x3001;&#x5927;&#x5199;&#x5B57;&#x6BCD;&#x3001;&#x5C0F;&#x5199;&#x5B57;&#x6BCD;&#x3001;&#x5927;&#x5199;&#x7F57;&#x9A6C;&#x6570;&#x5B57;&#x548C;&#x5C0F;&#x5199;&#x7F57;&#x9A6C;&#x6570;&#x5B57;&#x6392;&#x5217;&#x9879;&#x76EE;&#x3002;   </p>
<pre><code>&lt;ol &gt;
&lt;li&gt;&#x2026;&#x2026;&lt;/li&gt;
&lt;li&gt;&#x2026;&#x2026;&lt;/li&gt;
&lt;li&gt;&#x2026;&#x2026;&lt;/li&gt;
&lt;/ol&gt;
</code></pre><h2 id="&#x5B9A;&#x4E49;&#x5217;&#x8868;">&#x5B9A;&#x4E49;&#x5217;&#x8868;</h2>
<p>&#x5B9A;&#x4E49;&#x5217;&#x8868;&#x7528;&#x6765;&#x7EC4;&#x7EC7;&#x672F;&#x8BED;&#x548C;&#x5B83;&#x4EEC;&#x7684;&#x5B9A;&#x4E49;&#x3002;&#x4EFB;&#x4F55;&#x4FE1;&#x606F;&#x5982;&#x679C;&#x5305;&#x542B;&#x591A;&#x4E2A;&#x672F;&#x8BED;&#x548C;&#x76F8;&#x5BF9;&#x5E94;&#x7684;&#x89E3;&#x91CA;&#xFF0C;&#x90FD;&#x53EF;&#x4EE5;&#x4F7F;&#x7528;&#x5B9A;&#x4E49;&#x5217;&#x8868;&#x8FDB;&#x884C;&#x7EC4;&#x7EC7;&#x3002; </p>
<pre><code>&lt;dl&gt;
&lt;dt&gt;HTML&lt;/dt&gt;
&lt;dd&gt;html &#x662F;&#x8D85;&#x6587;&#x672C;&#x6807;&#x8BB0;&#x8BED;&#x8A00;&lt;/dd&gt;

&lt;dt&gt;XHTML&lt;/dt&gt;
&lt;dd&gt;&#x53EF;&#x6269;&#x5C55;&#x8D85;&#x6587;&#x672C;&#x7F6E;&#x6807;&#x8BED;&#x8A00; &lt;/dd&gt;
&lt;dd&gt;&#x8868;&#x73B0;&#x65B9;&#x5F0F;&#x4E0E;&#x8D85;&#x6587;&#x672C;&#x7F6E;&#x6807;&#x8BED;&#x8A00;&#xFF08;HTML&#xFF09;&#x7C7B;&#x4F3C;&#xFF0C;&#x4E0D;&#x8FC7;&#x8BED;&#x6CD5;&#x4E0A;&#x66F4;&#x52A0;&#x4E25;&#x683C; &lt;/dd&gt;
&lt;/dl&gt;
</code></pre><h2 id="html-&#x8868;&#x683C;">HTML &#x8868;&#x683C;</h2>
<p>&#x8868;&#x683C;&#x7531; <code>&lt;table&gt;</code>&#x6807;&#x7B7E;&#x4EE5;&#x53CA;&#x4E00;&#x4E2A;&#x6216;&#x591A;&#x4E2A; tr&#x3001;th&#x6216;td &#x5143;&#x7D20;&#x7EC4;&#x6210;&#x3002;
&#x5355;&#x5143;&#x683C;&#x53EF;&#x4EE5;&#x5305;&#x542B;&#x6587;&#x672C;&#x3001;&#x56FE;&#x7247;&#x3001;&#x5217;&#x8868;&#x3001;&#x6BB5;&#x843D;&#x3001;&#x8868;&#x5355;&#x3001;&#x6C34;&#x5E73;&#x7EBF;&#x3001;&#x8868;&#x683C;&#x7B49;&#x7B49;&#x3002;</p>
<pre><code>&lt;table border=&quot;1&quot;&gt;
&lt;tr&gt;
&lt;td&gt;row 1, cell 1&lt;/td&gt;
&lt;td&gt;row 1, cell 2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;row 2, cell 1&lt;/td&gt;
&lt;td&gt;row 2, cell 2&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
</code></pre><ul>
<li><code>&lt;table&gt;</code> &#x5B9A;&#x4E49;&#x8868;&#x683C;</li>
<li><code>&lt;th&gt;</code> &#x5B9A;&#x4E49;&#x8868;&#x5934;</li>
<li><code>&lt;tr&gt;</code> &#x5B9A;&#x4E49;&#x8868;&#x683C;&#x7684;&#x884C;</li>
<li><code>&lt;td&gt;</code>&#x5B9A;&#x4E49;&#x8868;&#x683C;&#x5355;&#x5143;</li>
</ul>
<table>
<thead>
<tr>
<th>&#x5C5E;&#x6027;</th>
<th>&#x503C;</th>
<th>&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td>width</td>
<td>px&#x3001; %</td>
<td>&#x6307;&#x5B9A;&#x8868;&#x683C;&#x7684;&#x5BBD;&#x5EA6;</td>
</tr>
<tr>
<td>height</td>
<td>px&#x3001;%</td>
<td>&#x8868;&#x683C;&#x7684;&#x9AD8;&#x5EA6;</td>
</tr>
<tr>
<td>border</td>
<td>px</td>
<td>&#x6307;&#x5B9A;&#x8868;&#x683C;&#x8FB9;&#x6846;&#x7684;&#x5BBD;&#x5EA6;</td>
</tr>
<tr>
<td>cellpadding</td>
<td>px</td>
<td>&#x6307;&#x5B9A;&#x8FB9;&#x6846;&#x4E0E;&#x5185;&#x5BB9;&#x4E4B;&#x95F4;&#x7684;&#x7A7A;&#x767D;</td>
</tr>
<tr>
<td>cellspacing</td>
<td>px&#x3001; %</td>
<td>&#x6307;&#x5B9A;&#x5355;&#x5143;&#x683C;&#x4E4B;&#x95F4;&#x7684;&#x7A7A;&#x767D;</td>
</tr>
<tr>
<td>align</td>
<td>left&#x3001; right &#x3001; center</td>
<td>&#x6307;&#x5B9A;&#x5BF9;&#x9F50;&#x65B9;&#x5F0F;</td>
</tr>
<tr>
<td>valign</td>
<td>top&#x3001; middle &#x3001; bottom</td>
<td>&#x5782;&#x76F4;&#x6392;&#x5217;&#x65B9;&#x5F0F;</td>
</tr>
<tr>
<td>colspan</td>
<td></td>
<td>&#x5408;&#x5E76;&#x5217;&#x5355;&#x5143;&#x683C;</td>
</tr>
<tr>
<td>rowspan</td>
<td></td>
<td>&#x5408;&#x5E76;&#x884C;&#x5355;&#x5143;&#x683C;</td>
</tr>
</tbody>
</table>
<h2 id="&#x5185;&#x5D4C;&#x6846;&#x67B6;">&#x5185;&#x5D4C;&#x6846;&#x67B6;</h2>
<table>
<thead>
<tr>
<th>&#x5C5E;&#x6027;</th>
<th>&#x5C5E;&#x6027;&#x503C;</th>
<th>&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td>width</td>
<td>px , %</td>
<td>&#x6307;&#x5B9A;&#x6846;&#x67B6;&#x7684;&#x5BBD;&#x5EA6;</td>
</tr>
<tr>
<td>height</td>
<td>px , %</td>
<td>&#x6307;&#x5B9A;&#x6846;&#x67B6;&#x7684;&#x9AD8;&#x5EA6;</td>
</tr>
<tr>
<td>scrolling</td>
<td>yes,no,auto</td>
<td>&#x662F;&#x5426;&#x663E;&#x793A;&#x6EDA;&#x52A8;&#x6761;</td>
</tr>
<tr>
<td>frameborder</td>
<td>1, 0</td>
<td>&#x662F;&#x5426;&#x663E;&#x793A;&#x8FB9;&#x6846;</td>
</tr>
</tbody>
</table>

                    
                    </section>
                
                
                </div>
            </div>
        </div>

        
        <a href="./图片音频视频.html" class="navigation navigation-prev " aria-label="Previous page: 图片音频视频"><i class="fa fa-angle-left"></i></a>
        
        
        <a href="./表单form元素.html" class="navigation navigation-next " aria-label="Next page: 表单form元素"><i class="fa fa-angle-right"></i></a>
        
    </div>
</div>

        
<script src="gitbook/app.js"></script>

    
    <script src="gitbook/plugins/gitbook-plugin-expandable-chapters/expandable-chapters.js"></script>
    

    
    <script src="gitbook/plugins/gitbook-plugin-sharing/buttons.js"></script>
    

    
    <script src="gitbook/plugins/gitbook-plugin-fontsettings/buttons.js"></script>
    

    
    <script src="gitbook/plugins/gitbook-plugin-ace/ace/ace.js"></script>
    

    
    <script src="gitbook/plugins/gitbook-plugin-ace/ace.js"></script>
    

    
    <script src="gitbook/plugins/gitbook-plugin-livereload/plugin.js"></script>
    

<script>
require(["gitbook"], function(gitbook) {
    var config = {"expandable-chapters":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"ace":{},"mdinhtml":{},"highlight":{},"livereload":{}};
    gitbook.start(config);
});
</script>

        
    </body>
    
</html>
